package com.mtnz.njk.Util;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* @Description:    自定义注解，标识那个接口需要token才可以访问
* @Author:         FBL
* @CreateDate:     2019\7\5 0005 7:25
* @Version:        1.0
*/
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface TokenNote {
    boolean required() default true;
}
